﻿@model Models.CMS_Comment
@using (Html.BeginForm(FormMethod.Post))
{
    <table style="margin-left:40%">
        <tr>
            @Html.AntiForgeryToken()
            <td>@Html.DisplayNameFor(x => x.aid)</td>
            <td>@Html.DropDownList("aid", ViewBag.Article as SelectList)</td>
        </tr>
        <tr>
            <td>@Html.DisplayNameFor(x => x.uid)</td>
            <td>@Html.DropDownList("uid", ViewBag.User as SelectList)</td>
        </tr>
        <tr>
            <td>@Html.DisplayNameFor(x => x.cmtime)</td>
            <td>@Html.TextBoxFor(x => x.cmtime, new { @type = "time" })</td>
        </tr>
        <tr>
            <td>@Html.DisplayNameFor(x => x.cmhtml)</td>
            <td>@Html.TextAreaFor(x => x.cmhtml)</td>
        </tr>
        <tr>
            <td colspan="2"><button>添加</button></td>
        </tr>
    </table>
}

